package com.bt7274.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 种子文件表 
 * </p>
 *
 * @author hp
 * @since 2025-03-25
 */
@TableName("pt_file")
public class PtFile implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 关联种子ID
     */
    private String torrentId;

    /**
     * 文件路径（相对路径）
     */
    private String path;

    /**
     * 文件大小（字节）
     */
    private Long size;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTorrentId() {
        return torrentId;
    }

    public void setTorrentId(String torrentId) {
        this.torrentId = torrentId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "PtFile{" +
        "id = " + id +
        ", torrentId = " + torrentId +
        ", path = " + path +
        ", size = " + size +
        "}";
    }
}
